Skip to content

BUG: JSON serialization with orient split fails roundtrip with MultiIndex #50904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

labibdotc
Copy link

@@ -0,0 +1,19 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be commited

@@ -0,0 +1,3 @@
import pandas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be commited either

@mroeschke mroeschke added the IO JSON read_json, to_json, json_normalize label Jan 23, 2023
@datapythonista datapythonista changed the title Split orient BUG: JSON serialization with orient split fails roundtrip with MultiIndex Jan 26, 2023
Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @labibdotc for the PR. Besides addressing the comments when you've got the time, can you also merge main into your branch and fix the conflicts. You may want to add your release note not at the very end of the list. That should help prevent conflicts.

marks=pytest.mark.xfail(
reason="Produces JSON but not in a consistent manner"
),
),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the test, the test is test_roundtrip_multiindex and what needs to be removed is the xfail decorator.

@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.

@mroeschke mroeschke closed this Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO JSON read_json, to_json, json_normalize
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: JSON serialization with orient split fails roundtrip with MultiIndex
3 participants